---
title: "Get all of a project's dependencies"
method: GET
path: "/project/{id|slug}/dependencies"
tags: ["projects"]
---

# Get all of a project's dependencies

`GET /project/{id|slug}/dependencies`

## Response `200`

Expected response to a valid request

- ProjectDependencyList
  - `projects` Project[] — Projects that the project depends upon
    - `id` string, required — The ID of the project, encoded as a base62 string
    - `team` string, required — The ID of the team that has ownership of this project
    - `title` string, required — The title or name of the project
    - `description` string, required — A short sentence summarizing the project, no more than a sentence or two.
    - `body` string, required — A long form description of the project
    - `status` 'approved' | 'archived' | 'rejected' | 'draft' | 'unlisted' | 'processing' | 'withheld' | 'scheduled' | 'private' | 'unknown', required — The status of the project
    - `project_type` 'mod' | 'modpack' | 'resourcepack' | 'shader', required — The project type of the project
    - `categories` string[], required — A list of the featured categories that the project has.
    - `additional_categories` string[], required — A list of additional categories that the project also has. These are supplementary to the featured categories, and does not include them again.
    - `environment` EnvironmentEnum[], required — All the environments that versions of this project support. Not in any particular order, we recommend using the environment information on a version instead. For an explanation of each environment, see the blog post here: https://modrinth.com/news/article/new-environments/#new-system
    - `game_versions` string[], required — A list of all of the game versions supported by the project
    - `loaders` string[], required — A list of all of the loaders supported by the project. These vary based on project type.
    - `versions` string[], required — A list of the version IDs of the project
    - `license` ProjectLicense, required — The license of the project
      - `id` string — The SPDX license ID of a project
      - `name` string — The long name of a license
      - `url` string, nullable — The URL to this license
    - `published` string, ISO-8601, required — The date the project was created
    - `updated` string, ISO-8601, required — The date the latest version of the project was created
    - `downloads` integer, required — The total number of downloads of the project
    - `followers` integer, required — The total number of users following the project
    - `gallery` GalleryImage[], required — A list of images that have been uploaded to the project's gallery
      - `url` string, required — The URL of the gallery image
      - `featured` boolean, required — Whether the image is featured in the gallery
      - `title` string, nullable — The title of the gallery image
      - `description` string, nullable — The description of the gallery image
      - `created` string, ISO-8601, required — The date and time the gallery image was created
      - `ordering` integer — The order of the gallery image. Gallery images are sorted by this field and then alphabetically by title.
    - `thread_id` string, required — The ID of the moderation thread associated with this project
    - `monetization_status` 'monetized' | 'demonetized' | 'force-demonetized', required
    - `slug` string, nullable — The slug of a project, used for vanity URLs. Regex: ```^[\w!@$()`.+,"\-']{3,64}$```
    - `organization` string, nullable — The ID of the organization that owns this project
    - `requested_status` 'approved' | 'archived' | 'unlisted' | 'private' | 'draft', nullable — The requested status when submitting for review or scheduling the project for release. Approved status refers to "Public" visibility.
    - `approved` string, ISO-8601, nullable — The date the project was first published
    - `queued` string, ISO-8601, nullable — The date the project's status was submitted to moderators for review
    - `icon_url` string, nullable — The URL of the project's icon
    - `raw_icon_url` string, nullable — The URL of the project's icon without CDN transforms applied
    - `color` integer, nullable — The RGB color of the project, automatically generated from the project icon
    - `issues_url` string, nullable — An optional link to where to submit bugs or issues with the project
    - `source_url` string, nullable — An optional link to the source code of the project
    - `wiki_url` string, nullable — An optional link to the project's wiki page or other relevant information
    - `discord_url` string, nullable — An optional invite link to the project's discord.
    - `donation_urls` ProjectDonationURL[], nullable — A list of donation links for the project
      - `id` string — The ID of the donation platform
      - `platform` string — The donation platform this link is to
      - `url` string — The URL of the donation platform and user
    - `client_side` 'required' | 'optional' | 'unsupported' | 'unknown', required — Deprecated - use `environment` instead.
    - `server_side` 'required' | 'optional' | 'unsupported' | 'unknown', required — Deprecated - use `environment` instead.
    - `body_url` string, nullable — Deprecated - The link to the long description of the project. Always null, only kept for legacy compatibility.
    - `moderator_message` ModeratorMessage, nullable — Deprecated - A message that a moderator sent regarding the project
      - `message` string — The message that a moderator has left for the project
      - `body` string, nullable — The longer body of the message that a moderator has left for the project
  - `versions` Version[] — Versions that the project depends upon
    - `name` string, required — The name of this version
    - `version_number` string, required — The version number. Ideally will follow semantic versioning
    - `changelog` string, nullable — The changelog for this version
    - `dependencies` VersionDependency[] — A list of specific versions of projects that this version depends on
      - `version_id` string, nullable — The ID of the version that this version depends on
      - `project_id` string, nullable — The ID of the project that this version depends on
      - `file_name` string, nullable — The file name of the dependency, mostly used for showing external dependencies on modpacks
      - `dependency_type` 'required' | 'optional' | 'incompatible' | 'embedded', required — The type of dependency that this version has
    - `game_versions` string[], required — A list of versions of Minecraft that this version supports
    - `version_type` 'release' | 'beta' | 'alpha', required — The release channel for this version
    - `loaders` string[], required — The mod loaders that this version supports. In case of resource packs, use "minecraft"
    - `featured` boolean, required — Whether the version is featured or not
    - `status` 'listed' | 'archived' | 'draft' | 'unlisted' | 'scheduled' | 'unknown'
    - `requested_status` 'listed' | 'archived' | 'draft' | 'unlisted', nullable
    - `id` string, required — The ID of the version, encoded as a base62 string
    - `project_id` string, required — The ID of the project this version is for
    - `author_id` string, required — The ID of the author who published this version
    - `date_published` string, ISO-8601, required
    - `downloads` integer, required — The number of times this version has been downloaded
    - `changelog_url` string, nullable — A link to the changelog for this version. Always null, only kept for legacy compatibility.
    - `environment` 'client_and_server' | 'client_only' | 'client_only_server_optional' | 'singleplayer_only' | 'server_only' | 'server_only_client_optional' | 'dedicated_server_only' | 'client_or_server' | 'client_or_server_prefers_both' | 'unknown', required — The environment a project or version supports. For an explanation of each environment, see the blog post here: https://modrinth.com/news/article/new-environments/#new-system
    - `files` VersionFile[], required — A list of files available for download for this version
      - `hashes` VersionFileHashes, required — A map of hashes of the file. The key is the hashing algorithm and the value is the string version of the hash.
        - `sha512` string
        - `sha1` string
      - `url` string, required — A direct link to the file
      - `filename` string, required — The name of the file
      - `primary` boolean, required — Whether this file is the primary one for its version. Only a maximum of one file per version will have this set to true. If there are not any primary files, it can be inferred that the first file is the primary one.
      - `size` integer, required — The size of the file in bytes
      - `file_type` 'required-resource-pack' | 'optional-resource-pack' | 'sources-jar' | 'dev-jar' | 'javadoc-jar' | 'unknown' | 'signature', nullable — The type of the additional file, used mainly for adding resource packs to datapacks

## Other responses

- `404` — The requested item(s) were not found or no authorization to access the requested item(s)

---

[API](https://skmtc.net/modrinth/apis/labrinth.md) · [All operations](https://skmtc.net/modrinth/apis/labrinth/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/modrinth/labrinth/revisions/83fe011e8657/schema)
